package com.example.newappchildrchinese.mode;

import com.activeandroid.Model;
import com.activeandroid.annotation.Column;
import com.activeandroid.annotation.Table;

import java.io.Serializable;

/**
 * Created by Aistt on 2015/12/11.
 */


@Table(name = "childrenchinese_word", id = "word_id")
public class ChineseWord extends Model implements Serializable {

    @Column(name = "course_id")
    private int course_id;

    @Column(name = "word_title")
    private String word_title;

    @Column(name = "word_content")
    private String word_content;

    @Column(name = "word_cover")
    private String word_cover;

    @Column(name = "word_pinyin")
    private String word_pinyin;

    public int getCourse_id() {
        return course_id;
    }

    public void setCourse_id(int course_id) {
        this.course_id = course_id;
    }

    public String getWord_title() {
        return word_title;
    }

    public void setWord_title(String word_title) {
        this.word_title = word_title;
    }

    public String getWord_content() {
        return word_content;
    }

    public void setWord_content(String word_content) {
        this.word_content = word_content;
    }

    public String getWord_cover() {
        return word_cover;
    }

    public void setWord_cover(String word_cover) {
        this.word_cover = word_cover;
    }

    public String getWord_pinyin() {
        return word_pinyin;
    }

    public void setWord_pinyin(String word_pinyin) {
        this.word_pinyin = word_pinyin;
    }

    @Override
    public String toString() {
        return "ChineseWord{" +
                "course_id=" + course_id +
                ", word_title='" + word_title + '\'' +
                ", word_content='" + word_content + '\'' +
                ", word_cover='" + word_cover + '\'' +
                ", word_pinyin='" + word_pinyin + '\'' +
                '}';
    }
}
